package com.CST.mapper.ufdata;

import com.CST.entity.ys.YsEtlAccount;
import com.CST.entity.ys.YsEtlAssetDetails;
import com.CST.entity.ys.YsEtlCollectionSubject;
import com.CST.vo.ys.YsDeptVO;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.time.LocalDate;
import java.util.List;

/**
 * @author chengwen
 */
@Mapper
public interface CollectionAccountMapper {
    List<YsEtlAccount> selectAccount(int year, LocalDate startDate, LocalDate endDate, Integer period);

    List<YsEtlAssetDetails> selectDetails(@Param("year") int year, @Param("month") int month);

    List<YsEtlCollectionSubject> collectSubjectData(@Param("year")int year);

    List<YsDeptVO> getYyDept();
}
